package com.springframework.core.context;

/**
 * bean的处理器
 * @author youzhengjie
 */
public interface BeanPostProcessor {

    //bean的前置处理器
    default Object postProcessorBeforeInitialization(Object bean,String beanName){

        return bean;
    };

    //bean的后置处理器
    default Object postProcessorAfterInitialization(Object bean,String beanName){

        return bean;
    }

}
